﻿#region Using

using Common.Base;

using GameCommon.Interfaces;

using GameLogic.FrontEndData.Enums;

#endregion

namespace GameLogic.FrontEndData.Commands
{
    #region Using

    

    #endregion

    public class MilitiaRouteAddCommand : ICommand
    {
        public MilitiaRouteAddCommand(Position starPosition, Position endPosition)
        {
            this.StartPosition = starPosition;
            this.EndPosition = endPosition;
        }

        public Position EndPosition { get; private set; }

        public Position StartPosition { get; private set; }

        public CommandResult ExecuteOn(ICommandExecutor executor, IPlayer sender)
        {
            return executor.ExecuteCommand(this, sender);
        }
    }
}